/**
 * 
 */
package com.yeook.ymax.xml.factory;

import com.yeook.ymax.xml.YooekXmlBean;
import com.yeook.ymax.xml.YooekXmlHandler;

/**
 * 处理数据 <basepath>http://www.yeook.com/</basepath>
 * 
 * @author wangbo
 * 
 */
public class BasepathHandler implements YooekXmlHandler {
	private YooekXmlBean xml;

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.yeook.android.xml.YooekXmlHandler#createELHandler(java.lang.String,
	 * java.lang.Object)
	 */
	@Override
	public void createELHandler(YooekXmlBean obj) {
		xml = (YooekXmlBean) obj;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.yeook.android.xml.YooekXmlHandler#handler(java.lang.String)
	 */
	@Override
	public void handler(String data) {
		xml.setBasepath(data);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.yeook.android.xml.YooekXmlHandler#closeELHandler()
	 */
	@Override
	public void closeELHandler() {
	}

}
